@import "reset", "mixin", "variable", "commcon";


.header-wrapper{
  position: relative;
  width: 100%;
  height: 170px;
  .header-content{
    position: absolute;
    top:0;
    left:0;
    width: 100%;
    height: 56px;
    background-color: rgba(255,255,255,0.4);
    z-index:5;
    .middle{
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      margin: 0 auto;
      width: 1160px;
      height: 100%;
      line-height: 56px;
      font-size: 13px;
      color: #222;
      .info{
        .item{
          display: inline-block;
          cursor: pointer;
          padding: 0 15px;
          &:hover{
            background-color: rgba(255,255,255,0.4);
          }
          .icon{
            margin-right: 4px;
            color: #20A0FF;
          }
        }
      }
      .user{
        .item{
          display: inline-block;
          cursor: pointer;
          padding: 0 15px;
          &:hover{
            background-color: rgba(255,255,255,0.4);
          }
          .icon{
            margin-right: 4px;
            color: #20A0FF;
          }
        }
      }
    }
  }
  .header-bg{
    width:100%;
    height: 170px;
    overflow: hidden;
    .bg-img{
      width:100%;
      height: 170px;
      min-width: 1160px;
    }
  }
}
//nav
.tab{
  width: 1160px;
  height: 50px;
  margin: 0 auto;
  font-size: 12px;
  .tab-item{
    display: inline-block;
    padding-left: 0;
    padding-right: 20px;
    padding-top: 10px;
    text-align: center;
    &:hover{
      a{
        color: #1D8CE0;
      }
    }
    &:last-child{
      padding-right: 0;
    }
    a{
      line-height: 25px;
      color: #222;
    }
    .num{
      display: block;
      font-size: 12px;
      line-height: 18px;
      background: rgb(255, 175, 201);
      border-radius: 4px;
      color: #fff;
    }
    .fa-home{
      display: block;
      line-height: 18px;
      color: rgb(255, 175, 201);

    }
  }
}
a{
  color: #666;
  &.active{
    color: #D8667A;
  }
}
.music-banner{
  border: 4px solid #d5d5d5;
  width: 1152px;
  height: 392px;
  overflow: hidden;

  margin-bottom: 20px;
}

.resource-banner{
  .banner-item{
    float: left;
    width: 170px;
    padding: 0;
    border-bottom: 0;
    margin: 0 28px 0 0;
    &:nth-last-of-type(1){
      margin-right: 0;
    }
    .item-image{
      width: 170px;
      height: 113px;
      position: relative;
      .tag{
        position: absolute;
        bottom: 0;
        left: 0;
        white-space: nowrap;
        color: #ffffff;
        text-align: center;
        padding: 5px;
        font-size: 12px;
        background-color: rgba(202, 134, 97, 0.47);
        &:hover{
          background-color: rgba(202, 134, 97, 1);
        }
      }
    }
    .item-desc{
      padding-top: 10px;
      min-height: 60px;
      max-height: 110px;
      overflow: hidden;
    }
  }
}

.resource-wrap{
  width: 1160px;
  position: relative;
  .resource-left{
    width: 170px;
    @include border-top-1px(rgba(7,17,27,0.2));
    margin-right: 28px;
    min-height: 200px;
    float: left;
    .category{
      box-sizing: border-box;
      word-wrap: break-word;
      border: 0;
      h3{
        display: inline-block;
        margin-bottom: 15px;
        font-size: 15px;
        font-weight: bold;
        padding-top: 15px;
        border-top: 1px solid black;
        color: #333;
      }
      li{
        color: #666;
        position: relative;
        margin: 0;
        line-height: 2;
        padding-left: 1rem;
        .icon{
          margin-left: -1rem;
        }
      }
    }
  }


  .resource-main{
    width: 670px;
    min-height: 200px;
    float: left;
    position: relative;
    .resource-box{
      width: 100%;
      height: 300px;
      margin-bottom: 20px;
      .resource-box-item{
        width: 100%;
        height: 300px;
        position: relative;
      }
    }
    .resource-item-wrap{
      position: relative;
      min-height: 140px;
      padding: 0 0 30px;
      margin-bottom: 30px;
      border-bottom: 1px solid #eee;
      .resource-thumbnail{
        float: left;
        width: 210px;
        height: 140px;
        margin-right: 20px;
        overflow: hidden;
        img{
          width: 100%;
          min-height: 100%;
        }
      }
      .resource-mxh{
        position: relative;
        min-height: 100px;
        max-height: 110px;
        overflow: hidden;
        .resource-title{
          font-size: 1.1rem;
          margin-bottom: 10px;
        }
        .resource-desc{
          color: #222222;
        }
      }
      .resource-foot{
        margin-top: 10px;
        padding-top: 10px;
        border-top: 1px dashed #eee;
        overflow: hidden;
        font-size: .8rem;
        color: #b2b2b2;
        li{
          float: left;
          margin-right: 10px;
          &:nth-last-of-type(1){
            margin-right: 0;
            float: right;
          }
        }
      }
    }
  }


  .resource-right{
    width: 260px;
    min-height: 200px;
    float: right;
    @include border-top-1px(rgba(7,17,27,0.2));
    .new-resource{
      box-sizing: border-box;
      word-wrap: break-word;
      border: 0;
      h3{
        display: inline-block;
        margin-bottom: 15px;
        font-size: 15px;
        font-weight: bold;
        padding-top: 15px;
        border-top: 1px solid black;
        color: #333;
      }
      li{
        margin: 0 0 15px;
        padding: 0 0 10px;
        border-bottom: 1px solid #eee;
        color: #666;
        .img{
          float: left;
          width: 80px;
          height: 55px;
          overflow: hidden;
        }
        .new-resource-desc{
          float: right;
          width: 170px;
          height: 55px;
          overflow: hidden;
        }
      }
    }
  }
}

.pageturn .pagelist {

  display: table-cell;
  vertical-align: middle;
  overflow: hidden;
  position: absolute;
  bottom: 0;
  right: 0;
}

.pageturn li {
  width: 30px;
  height: 30px;
  line-height: 30px;
  margin-left: 10px;
  float: left;
  text-align: center;
}

.pageturn li:first-child {
  margin-left: 0;
}

.pageturn li:hover a, .pageturn .active a {
  background: #717171;
  color: #fff;
  border-color: #eaeaea;
}

.pageturn a {
  border: 1px solid #eaeaea;
  display: block;
  height: 28px;
  color: #6c6c6c;
}

.pageturn .long {
  width: 100px;
}

.pageturn .none a {
  border: 0;
}

.pageright {
  float: right;
  width: auto;
  display: inline;
  clear: none;
  margin-top: 10px;
}
